package com.marry.multidatasource.service;

import com.marry.multidatasource.mapper.bd.PrereginfoMapper;
import com.marry.multidatasource.model.bd.Prereginfo;
import com.marry.multidatasource.model.bd.Sealupinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * @author ml
 * @create 2018-01-09--14:33
 */
@Service
public class PrereginfoService {

    @Autowired
    private PrereginfoMapper prereginfoMapper;


    public List<Prereginfo> getPrereginfoListByRealeunum(String realeunum){
        return prereginfoMapper.selectPrereginfoListByRealeunum(realeunum);

    }

}
